//
//  BRCardSetView.h
//  BrezzeSaaS
//
//  Created by IOS on 2021/10/13.
//  Copyright © 2021 Brezze GWG. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@protocol BRCardSetViewDelegate <NSObject>

- (void)cardSetDefault:(BOOL)isDefault index:(NSInteger)index ;

- (void)cardDelete:(NSInteger)index;

@end

@interface BRCardSetView : UIView


- (void)show;

- (void)hidd;

@property (nonatomic,assign) BOOL isDefault;

@property (nonatomic,assign) BOOL isOpen;

@property (nonatomic,assign) NSInteger index;

@property (nonatomic,weak) id<BRCardSetViewDelegate> delegate;

/// 标题
@property (nonatomic,strong) NSString *titleText;

@end

NS_ASSUME_NONNULL_END
